/**
 * output package name
 */
package com.kingdee.eas.mx.qa;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class Pass extends StringEnum
{
    public static final String YES_VALUE = "10";
    public static final String NO_VALUE = "20";
    public static final String WAIT_VALUE = "30";

    public static final Pass yes = new Pass("yes", YES_VALUE);
    public static final Pass no = new Pass("no", NO_VALUE);
    public static final Pass wait = new Pass("wait", WAIT_VALUE);

    /**
     * construct function
     * @param String pass
     */
    private Pass(String name, String pass)
    {
        super(name, pass);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static Pass getEnum(String pass)
    {
        return (Pass)getEnum(Pass.class, pass);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(Pass.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(Pass.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(Pass.class);
    }
}